package com.gxar.navigation.server.base.model.activity.request;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/9/21 09:51
 */
@Data
@ApiModel("活动预览请求")
public class PreviewRequest {

    @ApiModelProperty("活动ID")
    @JSONField(name = "active_id")
    @JsonProperty("active_id")
    @NotNull(message = "活动ID不能为空")
    private Long activeId;

}
